DELETE Practice

Make a DELETE request to /api/user/1 to delete the user. What is the flag?

DELETE api/user/1 HTTP/1.1
Host: tryhackme.com
User-Agent: Mozilla/5.0 Firefox/87.0
Content-Length: 0
  • Response Header :
HTTP/1.1 200 Ok
Server: nginx/1.15.8
Fri, 22 Nov 2024 4 10 31 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 68
Last-Modified: Fri, 22 Nov 2024 4 10 31 GMT
  • Response Body :
<html>
<head>
  <title>TryHackMe</title>
</head>
<body>
  <p>User #<!-- -->1<!-- --> successfully <!-- -->deleted<!-- -->.</p>
</body>
</html>
  • Flag :
THM{YOU_HAVE_JUST_DELETED_A_USER}